/* File : mblockmap.c */


#include "blockmap.h"


int main(){
	FILE* fs;
	fs = fopen("faisal.txt","r+");
	int i;
	/*for(i = 0; i < 1000000; i++)
		fputc(0,fs);*/
	Tblockmap Tb;
	initBlockmap(fs,&Tb);
	fillBlocknum(fs,&Tb,3);
	for(i=0; i < 8; i++){
		printf("%d", getBlocknum(Tb,i));
	}
	fclose(fs);
}
